package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.Link;
import com.qdlc.p2p.dal.model.LinkModel;

import java.util.List;


/**
 * Created by hongbinglin on 2016/6/3.
 */
public interface LinkService {

    Link findById(long id);

    PageDataList<Link> findLinkList(LinkModel linkModel);

    Link save(Link link);

    Link update(Link link);

    List<Link> findByType(int type);

}
